package com.xzl.tool.util;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @describe ：各种公共方法
 * @PageLocation:
 * @Auther xzl
 * @Date 2021/12/13 17:37
 */
public class AnyUtils {
    public static Timestamp now(){
        return Timestamp.valueOf(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
    }
}
